<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>QHotkey: QHotkey::NativeShortcut Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">QHotkey
   &#160;<span id="projectnumber">1.2.2</span>
   </div>
   <div id="projectbrief">A global shortcut/hotkey for Desktop Qt-Applications</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="class_q_hotkey.html">QHotkey</a></li><li class="navelem"><a class="el" href="class_q_hotkey_1_1_native_shortcut.html">NativeShortcut</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_q_hotkey_1_1_native_shortcut-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QHotkey::NativeShortcut Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Defines shortcut with native keycodes.  
 <a href="class_q_hotkey_1_1_native_shortcut.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qhotkey_8h_source.html">qhotkey.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0464ead243208d53675e6a05d5ae6dd9"><td class="memItemLeft" align="right" valign="top"><a id="a0464ead243208d53675e6a05d5ae6dd9"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_hotkey_1_1_native_shortcut.html#a0464ead243208d53675e6a05d5ae6dd9">NativeShortcut</a> ()</td></tr>
<tr class="memdesc:a0464ead243208d53675e6a05d5ae6dd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an invalid native shortcut. <br /></td></tr>
<tr class="separator:a0464ead243208d53675e6a05d5ae6dd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4a5166a520545d53937398c9557bc39"><td class="memItemLeft" align="right" valign="top"><a id="ad4a5166a520545d53937398c9557bc39"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_hotkey_1_1_native_shortcut.html#ad4a5166a520545d53937398c9557bc39">NativeShortcut</a> (quint32 <a class="el" href="class_q_hotkey_1_1_native_shortcut.html#ae6e9e5338bfcbe1bd9f98b2f5b49270f">key</a>, quint32 <a class="el" href="class_q_hotkey_1_1_native_shortcut.html#a93a198efc98d115b47b18e4813813089">modifier</a>=0)</td></tr>
<tr class="memdesc:ad4a5166a520545d53937398c9557bc39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a valid native shortcut, with the given key and modifiers. <br /></td></tr>
<tr class="separator:ad4a5166a520545d53937398c9557bc39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d3e7cdbef887ebbb5b642b1de3b5c34"><td class="memItemLeft" align="right" valign="top"><a id="a6d3e7cdbef887ebbb5b642b1de3b5c34"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_hotkey_1_1_native_shortcut.html#a6d3e7cdbef887ebbb5b642b1de3b5c34">isValid</a> () const</td></tr>
<tr class="memdesc:a6d3e7cdbef887ebbb5b642b1de3b5c34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks, whether this shortcut is valid or not. <br /></td></tr>
<tr class="separator:a6d3e7cdbef887ebbb5b642b1de3b5c34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc11d5aae15dd5504916e2db2b3fca50"><td class="memItemLeft" align="right" valign="top"><a id="abc11d5aae15dd5504916e2db2b3fca50"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_hotkey_1_1_native_shortcut.html#abc11d5aae15dd5504916e2db2b3fca50">operator==</a> (const <a class="el" href="class_q_hotkey_1_1_native_shortcut.html">NativeShortcut</a> &amp;other) const</td></tr>
<tr class="memdesc:abc11d5aae15dd5504916e2db2b3fca50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equality operator. <br /></td></tr>
<tr class="separator:abc11d5aae15dd5504916e2db2b3fca50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa01b759da79d9547d1d42df2a9fdd3b"><td class="memItemLeft" align="right" valign="top"><a id="afa01b759da79d9547d1d42df2a9fdd3b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_hotkey_1_1_native_shortcut.html#afa01b759da79d9547d1d42df2a9fdd3b">operator!=</a> (const <a class="el" href="class_q_hotkey_1_1_native_shortcut.html">NativeShortcut</a> &amp;other) const</td></tr>
<tr class="memdesc:afa01b759da79d9547d1d42df2a9fdd3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inequality operator. <br /></td></tr>
<tr class="separator:afa01b759da79d9547d1d42df2a9fdd3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ae6e9e5338bfcbe1bd9f98b2f5b49270f"><td class="memItemLeft" align="right" valign="top"><a id="ae6e9e5338bfcbe1bd9f98b2f5b49270f"></a>
quint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_hotkey_1_1_native_shortcut.html#ae6e9e5338bfcbe1bd9f98b2f5b49270f">key</a></td></tr>
<tr class="memdesc:ae6e9e5338bfcbe1bd9f98b2f5b49270f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The native keycode. <br /></td></tr>
<tr class="separator:ae6e9e5338bfcbe1bd9f98b2f5b49270f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93a198efc98d115b47b18e4813813089"><td class="memItemLeft" align="right" valign="top"><a id="a93a198efc98d115b47b18e4813813089"></a>
quint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_hotkey_1_1_native_shortcut.html#a93a198efc98d115b47b18e4813813089">modifier</a></td></tr>
<tr class="memdesc:a93a198efc98d115b47b18e4813813089"><td class="mdescLeft">&#160;</td><td class="mdescRight">The native modifiers. <br /></td></tr>
<tr class="separator:a93a198efc98d115b47b18e4813813089"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Defines shortcut with native keycodes. </p>
<p>The <a class="el" href="class_q_hotkey_1_1_native_shortcut.html" title="Defines shortcut with native keycodes. ">NativeShortcut</a> holds the native keycode and modifiers, after they have been translated from Qt::Key and Qt::Modifiers into the native ones.</p>
<p>It can be used to find out how a current hotkey is mapped to the system, or to explicitly create a shortcut from those native values</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_hotkey.html#a08f70a8e3349e1bd833e68d240ae58ac" title="Set this hotkey to a native shortcut. ">QHotkey::setNativeShortcut</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="qhotkey_8h_source.html#l00033">33</a> of file <a class="el" href="qhotkey_8h_source.html">qhotkey.h</a>.</p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/sky/Programming/QtLibraries/QHotkey/QHotkey/<a class="el" href="qhotkey_8h_source.html">qhotkey.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Mar 11 2018 00:05:42 for QHotkey by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
